﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BeniBastanYaratWinFormProject
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string yoneticiAdi = "vedat";
            string yoneticiSifresi = "1234";

            

            string kullaniciAdi = txtKullaniciAdi.Text;
            string kullaniciSifresi = txtSifre.Text;

            if (kullaniciAdi == yoneticiAdi && kullaniciSifresi == yoneticiSifresi)
            {
                YoneticiPaneli frm = new YoneticiPaneli();
                frm.Show();
                this.Hide();
                
                
                
            }
        }
    }
}
